package edu.ccut.saturn.studio.logic.model.saturn;

import java.util.List;

public class ErrorInfo {

	public boolean equals(ErrorInfo arg) {
		if(this.key.equals(((ErrorInfo)arg).getKey())&&this.value.equals(((ErrorInfo)arg).getValue())){
			return true;
		}
		return false;
	}
	private String key = "";

	private String value = "";
	
	public ErrorInfo(){
		
	}
	public ErrorInfo(ErrorInfo arg){
		this.key = arg.key;
		this.value = arg.value;
	}
	public List<?> getChild() {
		return null;
	}
	public String getName() {
		return this.key;
	}
	public void setChild(List<?> list) {
	}
	public String getKey() {
		return key;
	}
	public void setKey(String key) {
		this.key = key;
	}
	public String getValue() {
		return value;
	}
	public void setValue(String value) {
		this.value = value;
	}
}
